//
//  IndentTableViewCell.h
//  BeautyPicture
//
//  Created by 沈振邦 on 15/8/11.
//  Copyright (c) 2015年 szb. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "cellBaseModel.h"
#import "shareModel.h"
#import "productModel.h"
#import "orderModel.h"


@class childBaseTableViewCell;
@protocol childBaseTableViewCellDelegate <NSObject>

@optional
//删除方法
- (void)shanchuCell:(childBaseTableViewCell *)childBaseCell;

//继续编辑
- (void)continueDIY:(childBaseTableViewCell *)childBaseCell;

//马上印刷方法
- (void)goToPrint:(childBaseTableViewCell *)childBaseCell;

//查看详情
- (void)lookDetail:(childBaseTableViewCell *)childBaseCell;

//马上付钱
- (void)quicklyPay:(childBaseTableViewCell *)childBaseCell;

//看订单
- (void)lookDinDan:(childBaseTableViewCell *)childBaseCell;

//查看物流
- (void)lookWUliu:(childBaseTableViewCell *)childBaseCell;

//马上晒单
- (void)quickShaidan:(childBaseTableViewCell *)childBaseCell;

//确认收货
- (void)querenGoods:(childBaseTableViewCell *)childBaseCell;

//分享作品
- (void)shareProduct:(childBaseTableViewCell *)childBaseCell;

//再次分享
- (void)shareAgain:(childBaseTableViewCell *)childBaseCell;

@end

@interface childBaseTableViewCell : UITableViewCell

+ (instancetype)cellWithTableView:(UITableView *)tableView;

@property (nonatomic,strong)UIImageView *productImage;
/** 名称 */
@property (nonatomic,strong)UILabel *Name;
/** 规格 */
@property (nonatomic,strong)UILabel *Standard;
/** 时间 */
@property (nonatomic,strong)UILabel *Time;
/** 产品状态 */
@property (nonatomic,strong)UIButton *rightButton;
/** 删除 */
@property (nonatomic,strong)UIButton *leftBtn;
/** cell的标识*/
@property (nonatomic,copy)NSString *cellType;

/** 原价 */
@property (nonatomic,strong)UILabel *yuanJia;

/** 现价 */
@property (nonatomic,strong)UILabel *xianJia;

@property (nonatomic, strong) orderModel *orderData;


@property (nonatomic,strong)cellBaseModel *cellModel;


@property (assign,nonatomic)id<childBaseTableViewCellDelegate>delegate;

-(void)setUpCell:(productModel *)model;

-(void)setUpCell2:(cellBaseModel *)model;

- (void)setUpShareCell:(shareModel *)model;

@end
